package utils;

import android.app.Activity;

/**
 * Created by ZQ on 2016/4/20.
 */
public class Globals {

    public static int SCREEN_WIDTH;
    public static int SCREEN_HEIGHT;

    public static void init(Activity activity) {
        SCREEN_WIDTH = activity.getWindowManager().getDefaultDisplay().getWidth();
        SCREEN_HEIGHT = activity.getWindowManager().getDefaultDisplay().getHeight();
    }
}
